package com.online.shopping.service;

import com.online.shopping.entity.PageResult;
import com.online.shopping.pojo.TbBrand;

import java.util.List;
import java.util.Map;

public interface BrandService {
	//返回品牌列表
	public List<TbBrand> findAll();
	//分页
	public PageResult findPage(int pageNum, int pageSize);
	//添加
	public void addBrand(TbBrand brand);
	//根据id查询
	public TbBrand findOne(Long id);
	//修改
	public void updateBrands(TbBrand brand);
	//删除
	public void deleteBrand(Long[] ids);

}
